<template>
  <div>
    <demo v-if="isShow"/>
    <button @click="isShow=!isShow">点我隐藏</button>
  </div>
</template>

<script>
import Demo from './components/Demo.vue';
export default {
  components: { Demo },
  name: 'App',

  data() {
    return {
      isShow : true
    };
  },
  

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>